package com.wei.utils;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class BCryptPasswordEncoderUtils {
    private static BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();

    public static String getPassword(String password){
        return  bCryptPasswordEncoder.encode(password);
    }

//    public static void main(String[] args) {
//        System.out.println(getPassword("1234"));
//    }
}
